package org.xxmi.cors.web;

import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.xxmi.cors.model.questionnaire.Questionnaire;

@RestController
@RequestMapping("/asq")
public class Asq {

    @PostMapping("/save")
    public String save(@RequestBody Questionnaire ques) {
        System.out.println(ques);
        return "success";
    }
}
